package com.wy2.eclipse.tool.ui.preferences;

import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.jface.preference.IPreferenceStore;

import com.wy2.eclipse.tool.ui.UIActivator;

/**
 * Class used to initialize default preference values.
 */
public class PreferenceInitializer extends AbstractPreferenceInitializer {

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
	 */
	public void initializeDefaultPreferences() {
		IPreferenceStore store = UIActivator.getDefault().getPreferenceStore();
		store.setDefault(PreferenceConstants.P_GIT_URL, "https://gitee.com/nnsword/wts-data.git");
		//store.setDefault(PreferenceConstants.P_GIT_USER, "");
		//store.setDefault(PreferenceConstants.P_GIT_PASSWOR, "");
		
		
	}

}
